package com.hh.service;

import com.hh.item.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.List;

/**
 * @author yangfan
 * @date 2020/7/17 17:25
 * @description
 */

@Service("searchService")
@FeignClient("hh-service")
public interface ISearchService {

    @GetMapping("/user/searchAll")
    public List<User> searchAll();
}
